﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.DomainModels;
using VOL.SmartMecial.Infrastructure;
using VOL.SmartMecial.IServices.PayInfoManage;

namespace VOL.SmartMecial.Services.PayInfoManage
{
    public class PayInfoService : IPayInfoService
    {
        private readonly IBaseRepository<PayInfo> _paybaseRepository;

        public PayInfoService(IBaseRepository<PayInfo> paybaseRepository)
        {
            _paybaseRepository = paybaseRepository;
        }

        /// <summary>
        /// 缴费列表
        /// </summary>
        /// <returns></returns>
        public  List<PayInfo> GetPayList()
        {
           return  _paybaseRepository.GetAll().ToList();
        }
    }
}
